package com.mjf.ys.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * desc
 * </p>
 *
 * @author chenshoumeng
 * @date 2025/6/30 00:47
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class SalesoutListVO {
    private String code;
    private String message;
    private DataVO data;
    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class DataVO {
        private Integer recordCount;
        private Integer pageIndex;
        private Integer pageSize;
        private List<ContentVO> recordList;
    }

    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class ContentVO {
        private Long  id;
        private String  code; // 单据编码
        private String  cReceiveAddress; // 	string	否	收货地址
        private String  vouchdate; // 	string	否	单据日期
        private String  cReceiveMobile; // 	string	否	收货电话
        private String  cReceiver; // 	string	否	收货人
        private String  department_name; // 	string	否	部门名称
        private String  operator_name; // 	string	否	业务员名称
        private Long  operator; // 	long	否	业务员主键
        private String  department; // 	string	否	部门主键
        private Long  cust; // 	long	否	客户主键
        private String  invoiceCust_name; // 	string	否	开票客户名称
        private SalesOutDefineCharacter  salesOutDefineCharacter; // 特征项
    }

    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class SalesOutDefineCharacter {
        private String KH0002; // 城市
        private Long SHKH; // 收货客户
        private BigDecimal XS00003; // 运输吨数
        private String kh001; // 省份
    }
}
